﻿using SalesSys.DAL.Base;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SalesSys.DAL.Models
{
    /// <summary>
    /// 钢厂信息收集
    /// </summary>
    public class InfoCollection : DbEntityBase<int>
    {
        /// <summary>
        /// 建材,原料,代理商 +
        /// </summary>
        public string Type { get; set; }
        /// <summary>
        /// 钢厂名称
        /// </summary>
        public string SupplierName { get; set; }
        /// <summary>
        /// 代理商名称+
        /// </summary>
        public string AgentName { get; set; }
        /// <summary>
        /// 产品名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 标准+
        /// </summary>
       public string Standard { get; set; }
        /// <summary>
        /// 规格+
        /// </summary>
       public string Format { get; set; }
        /// <summary>
        /// 销量
        /// </summary>
        public decimal? Volume { get; set; }
        //public decimal AgentVolume { get; set; }
        /// <summary>
        /// 库存
        /// </summary>
        public decimal? Stock { get; set; }
        /// <summary>
        /// 价格
        /// </summary>
        public decimal? Price { get; set; }
        /// <summary>
        /// 备注 +
        /// </summary>
        public string Remark { get; set; }
        /// <summary>
        /// 信息时间
        /// </summary>
        public DateTime? InfoDate { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public Employee Creater { get; set; }

        /// <summary>
        /// 创建人编号
        /// </summary>
        public Guid CreaterId { get; set; }
        public class Mapper : SalMapper<InfoCollection, int>
        {

        }
    }
}
